package com.yxuan.springboot.model;

import io.jsonwebtoken.Claims;

/**
 * @className: CheckResult.java
 * @methodName: CheckResult
 * @effect: jwt验证信息实体封装类
 * @author: JingxuanFan
 * @date: 2023/3/19 15:16
 **/
public class CheckResult {

    //
    private int errCode;
    //
    private boolean success;
    //
    private Claims claims;

    public int getErrCode()
    {
        return errCode;
    }
    public void setErrCode(int errCode)
    {
        this.errCode = errCode;
    }
    public boolean isSuccess()
    {
        return success;
    }
    public void setSuccess(boolean success)
    {
        this.success = success;
    }
    public Claims getClaims()
    {
        return claims;
    }
    public void setClaims(Claims claims)
    {
        this.claims = claims;
    }
}